﻿<UserControl x:Class="SLVisifireApp.StackedBar2D1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="350" Height="400" xmlns:vc="clr-namespace:Visifire.Charts;assembly=SLVisifire.Charts">
    <Grid x:Name="LayoutRoot" Background="White">
        <vc:Chart Theme="theme_1">

            <vc:Chart.Titles>
                <vc:Title Text="Visifire Stacked Bar Chart"/>
            </vc:Chart.Titles>
            <vc:Chart.AxisX>
                <vc:Axis Title="Month"/>
            </vc:Chart.AxisX>
            <vc:Chart.AxisY>
            <vc:Axis Title="Sales (Millions of Dollars)" Prefix="$"/>
            </vc:Chart.AxisY>

            <vc:Chart.Series>
                <vc:DataSeries LegendText="ProductA" RenderAs="StackedBar" LabelEnabled="True" LabelText="#YValue" Cursor="Hand">
                <vc:DataSeries.DataPoints>
                    <vc:DataPoint AxisXLabel="01/12/2007" YValue="90.3"/>
                    <vc:DataPoint AxisXLabel="01/01/2008" YValue="95.4"/>
                    <vc:DataPoint AxisXLabel="01/02/2008" YValue="105.6"/>
                    <vc:DataPoint AxisXLabel="01/03/2008" YValue="108.8"/>
                    <vc:DataPoint AxisXLabel="01/04/2008" YValue="114.2"/>
                </vc:DataSeries.DataPoints>
            </vc:DataSeries>

            <vc:DataSeries LegendText="ProductB" RenderAs="StackedBar" LabelEnabled="True" LabelText="#YValue" Cursor="Hand">
                <vc:DataSeries.DataPoints>
                    <vc:DataPoint YValue="112"/>
                    <vc:DataPoint YValue="155.3"/>
                    <vc:DataPoint YValue="132.8"/>
                    <vc:DataPoint YValue="166.4"/>
                    <vc:DataPoint YValue="144"/>
                </vc:DataSeries.DataPoints>
            </vc:DataSeries>

            <vc:DataSeries LegendText="ProductC" RenderAs="StackedBar" LabelEnabled="True" LabelText="#YValue" Cursor="Hand">
                <vc:DataSeries.DataPoints>
                    <vc:DataPoint YValue="182.9"/>
                    <vc:DataPoint YValue="210.9"/>
                    <vc:DataPoint YValue="200.0"/>
                    <vc:DataPoint YValue="185.3"/>
                    <vc:DataPoint YValue="218.5"/>
                </vc:DataSeries.DataPoints>
            </vc:DataSeries>
            </vc:Chart.Series>
            
        </vc:Chart>
    </Grid>
</UserControl>
